package com.qianbao.domain.bindcard;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class BankCardEntity implements Serializable {

    @NotNull(message = "用户唯一标识")
    private String custom_id;

    private String card_id;

    @NotNull(message = "姓名不能为空")
    private String name;

    @NotNull(message = "手机号不能为空")
    private String phone;

    @NotNull(message = "银行卡不能为空")
    private String cardNumber;

    @NotNull(message = "身份证号不能为空")
    private String idNumber;

    private String smsCode;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getSmsCode() {
        return smsCode;
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }

    public String getCustom_id() {
        return custom_id;
    }

    public void setCustom_id(String custom_id) {
        this.custom_id = custom_id;
    }

    public String getCard_id() {
        return card_id;
    }

    public void setCard_id(String card_id) {
        this.card_id = card_id;
    }

    @Override
    public String toString() {
        return "BankCardEntity{" +
                "custom_id='" + custom_id + '\'' +
                ", card_id='" + card_id + '\'' +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", cardNumber='" + cardNumber + '\'' +
                ", idNumber='" + idNumber + '\'' +
                ", smsCode='" + smsCode + '\'' +
                '}';
    }
}
